home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group00a.txt / 000025_icon-group-sender _Fri Feb 4 13:43:19 2000.msg < prev    next >
Internet Message Format  |  2001-01-03  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id NAA06376
  4.     for icon-group-addresses; Fri, 4 Feb 2000 13:43:07 -0700 (MST)
  5. Message-Id: <200002042043.NAA06376@baskerville.CS.Arizona.EDU>
  6. X-Authentication-Warning: kapitan.ethanak.home: ethanak owned process doing -bs
  7. Date: Fri, 4 Feb 2000 16:46:33 +0100 (EET)
  8. From: "Bohdan R. Rau" <ethanak@bigfoot.com>
  9. X-Sender: ethanak@kapitan.ethanak.home
  10. To: icon-group@optima.CS.Arizona.EDU
  11. Subject: Re: calling a C routine from icont
  12. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  13. Status: RO
  14.  
  15. On Thu, 3 Feb 2000, Kostas Oikonomou wrote:
  16.  
  17. > Is it possible to call a C routine for which you have only a header available,
  18. > and whose code exists only in a library (no source available)?
  19. > I've looked through the code in the cfuncs directory, and I'm not sure if what I
  20. > want is doable.
  21.  
  22. Sorry for my bad English, but it is not my native language :)
  23.  
  24. Some months ago I tried to write ncurses wrapper for Icon. In theory it was
  25. very simple - adding only one paremeter (-lncurses) to gcc call. But
  26. behaviour was very strange - on two machines (very small Linux RH 4.2/486/4
  27. MB RAM and RH5.2/P166/32MB) it worked very good, on third (my private
  28. machine, RH5.2/P166/32MB, practically identical to one of this two) every
  29. call of ncurses procedure caused memory violation...
  30.  
  31. I have no idea where is the problem :(((
  32.  
  33. Regards
  34.  
  35. ethanak
  36. http://ethanak.i.sex.pl
  37.  
  38.